using System;
using Gtk;
using TracNghiem2;

public partial class MainWindow: Gtk.Window
{	
	public MainWindow (): base (Gtk.WindowType.Toplevel)
	{
		Build ();
		
	}
	
	protected void OnDeleteEvent (object sender, DeleteEventArgs a)
	{
		Application.Quit ();
		a.RetVal = true;
	}

	protected void OnPlay (object sender, System.EventArgs e)
	{
		question_player play = new question_player();
		play.Show ();
	}
	protected void OnNew (object sender, EventArgs e)
	{
		question_maker make = new question_maker();
		make.main_window = this;
		make.Show ();
	}

}
